<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>

<script type="text/javascript">

const foo = Object.freeze({test:1 });
console.error(foo.test);
foo.test = 2;	
console.error(foo.test);

</script>

</body>
</html>